<?php

namespace app\admin\model;

use app\common\model\BaseModel;
use think\model\relation\HasMany;

class GroupAuth extends BaseModel
{
    public function authMenu(): HasMany
    {
        return $this->hasMany(GroupAuthMenu::class);
    }

    public function userAuth(): HasMany
    {
        return $this->hasMany(GroupUserAuth::class);
    }
}